(function() {
    angular.module('app').component('manageModelComponent', {
        css: 'app/controllers/manage.controller/model.component/model.component.css',
        templateUrl: 'app/controllers/manage.controller/model.component/model.component.html',
        controller: manageModelComponent,
        controllerAs: 'vm',
        bindings:{
            panel2:'<',//添加，显示data
        }
    });

    manageModelComponent.$inject = ['manageModelComponentService', '$rootScope', 'atomicNotifyService', '$timeout','$controller'];

    function manageModelComponent(manageModelComponentService, $rootScope, atomicNotifyService, $timeout,$controller) {
        var vm = this;

        console.log('this is manageModelComponent');

       

        $(document).ready(function() {
            $('.manage-model-box select').material_select();
        });

        vm.$onInit = function() {

            angular.extend(vm, $controller('commonCtrl',{vm:vm}));

            console.log(vm);

            
        };


        vm.navs = ['徐香猕猴桃', '徐香猕猴桃', '徐香猕猴桃', '徐香猕猴桃', '徐香猕猴桃', '徐香猕猴桃', '徐香猕猴桃'];



    }
})();
